package service;

import org.apache.log4j.Logger;
import service.impl.RealBuyerr;

public class IntermediarySubclass extends RealBuyerr {
    private Logger logger = Logger.getLogger(IntermediarySubclass.class);
 /**
 4. * 重写目标对象业务方法实现代理
 5. */
         @Override
 public String havealook() {
       before();
       String feedback = super.havealook(); // 执行目标对象的实际业务
        after();
        return "看房记录：买家反馈“" + feedback + "”";
        }

    private void after() {
    }

    private void before() {

    }
//省略 before()和 after()方法定义
}
